package edu.sjsu.phan.postlab14;

import junit.framework.TestCase;

public class WorkerTest extends TestCase
{
   Worker aworker = new Worker("John",30);
   
   public void testGetName()
   {
      assertEquals("John", aworker.getName());
   }

   public void testGetSalaryRate()
   {
      assertEquals(30.0, aworker.getSalaryRate());
   }

}
